package dljk.core;

import java.awt.FlowLayout;
import java.awt.HeadlessException;
import javax.swing.JFrame;

/**
 *
 * @author Ariman
 */
public class Board extends JFrame {
    GamePanel GP_mainPanel;  

    public Board() throws HeadlessException{
        super("DARK LORD FTANG!!!");
        GP_mainPanel = new GamePanel(new FlowLayout());
        this.add(GP_mainPanel);
        this.setResizable(false);
        this.setSize(((2*GamePanel.iBASE_X)+(7*GamePanel.iOFFSET_X)+(8*CardRenderer.iCARD_WIDTH)+7+(GamePanel.iOFFSET_X*4)),600);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
    }
    
    
}
